//
//  TestModel.swift
//  KPBaseProject
//
//  Created by Kipp Dev on 2018/3/20.
//  Copyright © 2018年 Kipp. All rights reserved.
//

import Foundation
import HandyJSON

struct TestModel:HandyJSON {
    var articleType = [TopListModel]()
    var recommend = [RecommendModel]()
    var video:VideoModel?
}

struct ArticleTypeModel {
    var img: String?
    var name: String?
    var id: String?
}

struct VideoModel:HandyJSON {
    var video: String?
    var cover: String?
}

struct RecommendModel:HandyJSON {
    var cover: String?
    var typeId: String?
    var id: String?
    var title: String?
}
struct TopListModel: HandyJSON {
    var id:String?
    var typeId: String?
    var title: String?
    var viceTitle: String?
    var toponymy: String?
    var headImg: String?
    var imgPaths: String?
    var intro: String?
    var content: String?
    var readNum: Int?
}

struct NetTestModel: HandyJSON {
    var integer: Int = 0
    var jsonArray = [NetArrayModel]()
    var array = [String]()
    var json:NetArrayModel?
    var string: String = ""

}

struct NetArrayModel: HandyJSON {
    var name: String = ""
    var age: Int = 0
}
